cd c:\projects\tasacs\install
rem create directories
mkdir tasacs
mkdir tasacs\res
mkdir tasacs\bin
mkdir tasacs\dialogs
mkdir tasacs\tasacsconfig
mkdir tasacs\tasacsconfig\dialogs
mkdir tasacs\documentation
mkdir tasacs\data\nssh\run1


rem compy tasacs exe project
cd c:\projects\tasacs
copy res\*.bmp install\tasacs\res
copy dialogs\*.pas install\tasacs\dialogs
copy dialogs\*.dfm install\tasacs\dialogs
copy *.pas install\tasacs
copy *.dfm install\tasacs
copy *.res install\tasacs
copy *.cfg install\tasacs
copy *.dpr install\tasacs
copy *.bdsproj install\tasacs
copy *.bdsproj.local install\tasacs


rem copy tasacsconfig exe project
cd c:\projects\tasacs\tasacsconfig
copy dialogs\*.pas .\..\install\tasacs\tasacsconfig\dialogs
copy dialogs\*.dfm .\..\install\tasacs\tasacsconfig\dialogs
copy *.pas .\..\install\tasacs\tasacsconfig
copy *.dfm .\..\install\tasacs\tasacsconfig
copy *.res .\..\install\tasacs\tasacsconfig
copy *.cfg .\..\install\tasacs\tasacsconfig
copy *.dpr .\..\install\tasacs\tasacsconfig
copy *.bdsproj .\..\install\tasacs\tasacsconfig
copy *.bdsproj.local .\..\install\tasacs\tasacsconfig


rem compy tasacs dll project
cd c:\projects\tasacs
copy *.lfproj install\tasacs
copy *.lfproj.user install\tasacs
copy *.sln install\tasacs
copy *.suo install\tasacs
copy *.f90 install\tasacs


rem copy data 
cd c:\projects\tasacs\data\nssh\run1
copy *.txt c:\projects\tasacs\install\tasacs\data\nssh\run1\


rem copy documentation
cd c:\projects\tasacs\documentation
copy "tasacs.doc" c:\projects\tasacs\install\tasacs\documentation
copy "How to use it.doc" c:\projects\tasacs\install\tasacs\documentation

rem compy executables
cd c:\projects\tasacs\bin
copy *.exe c:\projects\tasacs\install\tasacs\bin
copy *.dll c:\projects\tasacs\install\tasacs\bin
